Einhugur Xml Plugin for Xojo

EinhugurXml.XPathQuery Class (console safe)

Class representing XPath precompiled query.

When you call EinhugurXml.Node.SelectNodes with an expression string as an argument, a query object is created behind the scenes. A query object represents a compiled XPath expression. Query objects can be needed in the following circumstances:

You can precompile expressions to query objects to save compilation time if it becomes an issue;

You can use query objects to evaluate XPath expressions which result in booleans, numbers or strings;

You can get the type of expression value via query object.

Query objects correspond to XPathQuery type. They are immutable and non-copyable: they are bound to the expression at creation time and can not be cloned.

Object
   XPathQuery

class EinhugurXml.XPathQuery

Constructors

XPathQueryConstructor which takes in expression query.
XPathQueryConstructor which takes in expression query and XPathVariableSet.

Methods

EvaluateBooleanEvaluates query to a Boolean result.
EvaluateNodeEvaluates a query to a single XPath node.
EvaluateNodeSetEvaluates a query to a node set.
EvaluateNumberEvaluates query to a Number result.
EvaluateStringEvaluates query to a String result.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS